<?php
namespace app\system\model;

use think\Model;

class NewClassModel extends Model
{
    protected $table='__NEWCLASS__';

    /**
     * @param array $where
     * @param bool $order
     * @param bool $fields
     * @return false|\PDOStatement|string|\think\Collection
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\ModelNotFoundException
     * @throws \think\exception\DbException
     */
    public function selectNewClass(array $where=[], $order=false, $fields=false)
    {
        return $this->where($where)->order($order)->field($fields)->select();
    }
}